package com.flyduck.common.util;

import cn.hutool.core.lang.Snowflake;

/**
 * @program: flyduck-platform2
 * @description:
 * @author: flyduck
 * @create: 2021-04-21 11:38
 **/
public class IdUtil extends cn.hutool.core.util.IdUtil {

    public static long getId(){
        Snowflake snowflake = cn.hutool.core.util.IdUtil.getSnowflake(1, 1);
        return snowflake.nextId();
    }
}
